<?php
/**
 * Created by PhpStorm.
 * User: Vlada
 * Date: 9/6/14
 * Time: 12:31 AM
 */

class Util {
    public static function isNull($field, $arr)
    {
        if(!array_key_exists($field, $arr) || strlen($arr[$field])==0)
            return true;
        else return false;
    }
} 